﻿namespace dogd
{
	using System;

	/// <summary>
	/// Declares a column to be a lookup. Assumed to be string type.
	/// </summary>
	[AttributeUsage(AttributeTargets.Property)]
	public sealed class LookupColumnAttribute : ColumnAttribute
	{
		/// <summary>
		/// Initialize with the column name
		/// </summary>
		/// <param name="columnName"></param>
		public LookupColumnAttribute(string columnName)
			: base(columnName)
		{
			this.IsLookup = true;
		}
	}
}
